﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CatAndDog4
{
    class Dog : Animal
    {

        public Dog() : base()
        { }

        public Dog(string name) : base(name)
        { }

        protected override string getVoice()
        {
            return "汪";
        }
    }
}
